package display.screens.apartments {
	import flash.display.MovieClip;
	
	import org.ilovecode.display.TextContentWindow;
	
	/**
	 * Screen containing content to show on ApartmentsScreen.
	 * 
	 * @author Vjekoslav Ratkajec
	 */
	public class ApartmentsScreenContent extends TextContentWindow {
		
		/**
		 * Create new instance of Apartments screen content.
		 */
		public function ApartmentsScreenContent(name:String="") {
			super(name);
		}
		
		override protected function initText():void
		{
			super.initText();
			
			var xml:XML = controller.getScreenXML("apartments");
			_contentTextField.htmlText = String(xml.info)..split("\r").join("");;
		}
		
	}

}